package ru.compscicenter.uno.wizard;

import ru.compscicenter.uno.GameSettings;

/**
 * User: SLeeP
 * Date: 10.03.12
 * Time: 0:50
 */
public class Panel3ServerWaitDescriptor extends WizardPanelDescriptor {
    public static final String IDENTIFIER = "SERVER_WAIT";
    private String next;
    private Panel3ServerWait panel3ServerWait;
    private GameSettings gameSettings;

    public Panel3ServerWaitDescriptor(GameSettings gameSettings) {
        this.gameSettings = gameSettings;
        panel3ServerWait = new Panel3ServerWait(gameSettings);
        setPanelDescriptorIdentifier(IDENTIFIER);
        setPanelComponent(panel3ServerWait);
    }

    public Object getNextPanelDescriptor() {
        return FINISH;
    }

    public Object getBackPanelDescriptor() {
        return Panel2ServerRulesDescriptor.IDENTIFIER;
    }
}
